﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Configuration;
using ZoLone.Models.Sys;
using System.Data.Common;
using Microsoft.EntityFrameworkCore.Infrastructure;
using System.Data;
using System.Reflection;

namespace ZoLone.Logics
{
    public class DataContext: DbContext
    {
        public DataContext(DbContextOptions options) : base(options)
        {
            
        }

        public virtual DbSet<Sys_Admin> Sys_Admin { get; set; }
        public virtual DbSet<Sys_AdminRole> Sys_AdminRole { get; set; }
        public virtual DbSet<Sys_Operation> Sys_Operation { get; set; }
        public virtual DbSet<Sys_Role> Sys_Role { get; set; }
        public virtual DbSet<Sys_OperationLog> Sys_OperationLog { get; set; }

    }
}
